package com.city.service.economic.impl;

import com.city.domain.economic.EconomicType;
import com.city.repository.economic.EconomicTypeRepository;
import com.city.service.economic.EconomicTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @deprecation: 企业经济类型
 * @dmail: 398521613@qq.com
 * @author: L-H
 * @date: 2018-07-18 13:14
 */
@Service
public class EconomicTypeServiceImpl implements EconomicTypeService {

    @Autowired
    private EconomicTypeRepository economicTypeRepository;

    @Override
    public List<EconomicType> getAll() {
        return economicTypeRepository.getAll();
    }
}
